Skip to content

Use latest tag when navigating to toolbox docs#17

Open
DavidMStraub wants to merge 1 commit into
pathsim:masterfrom
DavidMStraub:toolbox_landing_latest
Open

Use latest tag when navigating to toolbox docs#17
DavidMStraub wants to merge 1 commit into
pathsim:masterfrom
DavidMStraub:toolbox_landing_latest

Conversation

@DavidMStraub
Copy link
Copy Markdown

Right now, navigating to toolbox docs stores the version tag in localStorage and uses that version henceforth.

This has the consequence that, even when a package and its docs are updated, a user opening the docs landing page and clicking on the toolbox will see the old docs, without any visual indication that it's outdated.

This simple change uses the latest tag as the default to show whenever a user clicks on the toolbox on the landing page. The localStorage value is still used when explicitly setting the version via dropdown.

In addition to this change, it might make sense to display a banner when viewing old docs (like RTD does).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant